home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
orbitrax.swf
/
scripts
/
DefineSprite_1012
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
652b
|
15 lines
function traceLineL(obj, moveTo)
{
var _loc1_ = obj;
lineL.lineStyle(gameMain.tline,gameMain.cline,gameMain.aline);
if(moveTo)
{
lineL.moveTo(_loc1_.x * 100 / gameMain.piste._xscale,_loc1_.y * 100 / gameMain.piste._yscale);
}
lineL.lineTo(_loc1_.x * 100 / gameMain.piste._xscale,_loc1_.y * 100 / gameMain.piste._yscale);
lineL = createEmptyMovieClip("line" + gameMain.cl,100 + gameMain.cl++);
lineL.moveTo(_loc1_.x * 100 / gameMain.piste._xscale,_loc1_.y * 100 / gameMain.piste._yscale);
lineL.intervalID = setInterval(gameMain.fadeLine,gameMain.sfade,gameMain.lineL);
gameMain.cl %= gameMain.mline;
}